package com.challenge.smsservice.admin.service.impl;

import com.challenge.smsbase.Service.impl.GenericManagerImpl;
import com.challenge.smsdao.admin.dao.RoleDao;
import com.challenge.smsdao.admin.domain.Role;
import com.challenge.smsservice.admin.service.RoleManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * cuimingyang
 */
@Component
public class RoleManagerImpl extends GenericManagerImpl<Role,Long> implements RoleManager {
    RoleDao roleDao;

    /**
     * setRoleDao
     * @param roleDao
     */
    @Autowired
    public void setRoleDao(RoleDao roleDao){
        this.roleDao = roleDao;
        this.dao = this.roleDao;
    }
}
